package org.hubwork.base.common;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD, ElementType.TYPE})
public @interface Routable{
	
	String[] value () default {};
	String dataSource () default "none";
	Class<? extends ServerIdFinder> serverIdFinder () default ServerIdFinder.class;
	MergePolicy mergePolicy () default MergePolicy.LAST;
	ObtainPolicy msaPolicy () default ObtainPolicy.NONE;
}
